import Vue from 'vue'
import Router from 'vue-router'
import BusMap from '@/components/BusMap'
import My from '@/components/My'
import BusLine from '@/components/BusLine'
import Hello from '@/components/HelloWorld'

Vue.use(Router)

export default new Router({
    mode: 'history',
    routes: [{
            path: '/',
            name: 'BusMap',
            component: BusMap
        },
        {
            path: '/My',
            name: 'My',
            component: My
        },
        {
            path: '/busline',
            name: 'BusLine',
            component: BusLine
        },
        {
            path: '/hello',
            name: 'Hello',
            component: Hello
        }
    ]
})